package com.shop.manager.service;

//import com.shop.manager.entity.Specification;
import com.base.common.entity.Specification;
import com.base.common.http.PageResult;
//import com.shop.manager.http.PageResult;

import java.util.List;
import java.util.Map;

/**
 * 功能描述：规格service
*/
public interface SpecificationService extends BaseService<Specification>{

    List<Map<String, Object>> specificationList();

    int addSpecification(Specification specification);

    int deleteSpecification(List<Long> ids);

    int updateSpecification(Specification specification);

    Specification getBySpecificationId(Long id);

    PageResult getAllSpecification(Integer page, Integer rows, Specification specification);

}
